@v-bg-color: white;

.main-top{
    width:100%;
    height:100%;
    overflow: hidden;
    background-image: linear-gradient(to right, #0886a0, #43a1e8);
    color: #FFF;
    &>.nav {
        float: left;
        margin-left: 30px;
        cursor: pointer;
        &>.nav-icon{
            padding: 5px 8px;
            border: 1px solid transparent;
            &:hover{
                border: 1px solid #077288;
                background-color: #0A7990;
            }
        }
    }
    &>.logo {
        float: left;
        text-indent: 10px;
        font-size: 1.8rem;
        &::before {
            content: ' ';
            display: inline-block;
            background: url('../images/logo.png') no-repeat;
            background-size: 20px;
            width: 20px;
            height: 20px;
            margin: 0 8px 0 8px;
            position: relative;
            top: 5px;
        }
        &::after {
            content: ' ';
            font-size: 1.5rem;
            line-height: 15px;
            margin-left: 2px;
            opacity: 0.6;
        }
    }
    &>.search {
        position: absolute;
        box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
        height: 100%;
        width: 100%;
        background-color: #fff;
        z-index: 1;
        &>.inner {
            position: relative;
            max-width: 700px;
            display: block;
            margin: 0 auto;
            .icon {
                position: absolute;
                top: 15px;
                font-size: 2.4rem;
                font-style: normal;
                width: 45px;
                text-align: center;
                border-radius: 2px 0px 0px 2px;
                cursor: pointer;
                left: 15px;
                height: 40px;
                padding-top: 9px;
            }
            input{
                border: 0;
                height: 40px;
                padding: 0 10px 0 55px;
                font-size: 1.8rem;
                width: 100%;
                border-radius: 2px;
                background-color: #efefef;
            }
        }
    }
    &>.account {
        float: right;
        list-style: none;
        margin-right: 15px;
        font-size: 2.4rem;
        &>li{
            list-style: none;
            float: right;
            cursor: pointer;

            &>a{
                position: relative;;
                padding: 10px;
                border-radius: 3px;
                &:hover{
                    background-color: #066B80;
                }
                &>.count{
                    position: absolute;;;
                    font-style: normal;
                    background: #f44336;
                    padding: 1px 5px;
                    border-radius: 2px;
                    right: 2px;
                    top: 2px;
                    font-size: 1.0rem;
                    line-height: 15px;
                }
            }
        }
    }
}
